package org.duiduo.api.constant;

/**
 * 配置类常量
 *
 * @author liangze
 * @date 2021/9/24 16:29
 */
public class ConfigConsts {

    /**
     * 没匹配的url默认登录即可访问
     */
    public static final String DEFAULT_LEVEL = "DEFAULT_LEVEL";

    /**
     * 放行的路径地址
     */
    public static final String[] URL_WHITELIST = new String[] {
            "/login",
            "/logout",
            "/css/**",
            "/js/**",
            "/index.html",
            "favicon.ico",
            "/doc.html",
            "/webjars/**",
            "/swagger-resources/**",
            "/v2/api-docs/**",
            "/kaptcha",
            "/ws/**",
            "/files/**",
            "/imserver/**",
            "/alipay/**",
            "/userinfo/**"
    };
}
